#include "BSMinFreq.h"

BSMinFreq::BSMinFreq()
{
	m_name = "Minimum Frequency";
}

BSMinFreq::~BSMinFreq()
{

}

void BSMinFreq::Update()
{
	if (m_mouseDidIntersect && m_mouseButtonWasReleased)
	{
		m_sound->SetMinFreq(m_amount);

		m_mouseButtonWasReleased = false;
		m_mouseDidIntersect = false;
	}
}